#pragma once
#include "pch.h"

class class_lock
{
public:
class_lock()
{}

~class_lock()
{}


int begin()
{
mu.lock();
return 0;
}

int end()
{
mu.unlock();
	return 0;
}

private:
std::mutex mu;
};

